//
//  PPEmptyStateView.h
//  pickpic
//
//  Created by GaoYongyue on 16/8/27.
//  Copyright © 2016年 MicroDream. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef NS_ENUM(NSInteger, PPEmptyStateViewState){

    PPEmptyStateViewStateNoData = 0,
    PPEmptyStateViewStateNotReachable = 1,
    PPEmptyStateViewStateTimeOut = 2,

};

@interface PPEmptyStateView : UIView

- (void)setEmptyStateData:(PPEmptyStateViewState)state noDataTips: (NSString *)noDatatips;

- (void)showEmptyStateView:(BOOL)animated;

- (void)hideEmptyStateView:(BOOL)animated;

@end
